package de.uni.muenster.idw2.location.wifi;

import java.util.ArrayList;
import java.util.LinkedList;
import de.uni.muenster.idw2.data.Position;
public class WifiPositionen {
	
	private ArrayList<Fingerprint> fingerprints;
	private ArrayList<Result> res;
	private Position matchedPos;
	private Result test;
	


	public Result getTest() {
		return test;
	}

	public void setTest(Result test) {
		this.test = test;
	}

	private static WifiPositionen wifiprint = null;
	
	
	private WifiPositionen(){
		fingerprints = new ArrayList<Fingerprint>();
		res = new ArrayList<Result>();
	}
	
	public static WifiPositionen getWifiPositionen(){
		if(wifiprint == null){
			wifiprint = new WifiPositionen();
		}
		return wifiprint;
	}
	
	public void addFingerprint(Fingerprint p){
		fingerprints.add(p);
	}
	
	public ArrayList<Fingerprint> getFingerprints(){
		return fingerprints;
	}

	public ArrayList<Result> getRes() {
		return res;
	}

	public void setRes(ArrayList<Result> res) {
		this.res = res;
	}
	
	public Position getMatchedPos() {
		return matchedPos;
	}

	public void setMatchedPos(Position matchedPos) {
		this.matchedPos = matchedPos;
	}
	
}
